package com.xk857.util.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author CV大魔王
 * @Description 阿里云oss配置类
 * @date 2021/2/23 15:20
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "xk857")
public class BlogProperties implements Serializable {

    // 会将 xk857.aliyun 绑定到 AliyunProperties 对象上。
    private AliyunProperties aliyun;
}
